package com.fly.repository;

import com.fly.domain.User;
import com.fly.persistence.MyJpaRepository;

/**
 * @author Fly
 * @Description
 * @Date Created in 8:29 2018/1/25
 * @Modified by
 */
public interface UserRepository extends MyJpaRepository<User,Long> {

    /**
     * 根据用户名查找
     * @param username
     * @return
     */
    User findUserByUsername(String username);
}
